<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('检测单位详细')" />
    <th:block th:include="include :: footer" />
    <style>
        .fua{
            color: #0aa1ed;
        }
    </style>
</head>
<body class="white-bg">
<ul class="nav nav-tabs">
    <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true">基本信息</a>
    </li>
    <li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">报告信息</a>
    </li>
    <li class=""><a data-toggle="tab" href="#tab-3" aria-expanded="false">安全检查</a>
    </li>
    <li class=""><a data-toggle="tab" href="#tab-4" aria-expanded="false">质量考核</a>
    </li>
</ul>
<div  class=" tab-content wrapper wrapper-content animated fadeInRight ibox-content">
    <div id="tab-1" class="tab-pane active">
        <form class="form-horizontal m-t" id="jobLogForm" th:if="${name == 'tJcJcbg'}">
            <div class="form-group">
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">报告编号：</label>
                    <div class="form-control-static" th:text="${tJcJcbg.reportNumber}">
                    </div>
                </div>
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">检测日期：</label>
                    <div class="form-control-static" th:text="${#dates.format(tJcJcbg.detectionDate, 'yyyy-MM-dd')}">
                    </div>
                </div>
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">检测有效期：</label>
                    <div class="form-control-static" th:text="${#dates.format(tJcJcbg.detectionDateEnd, 'yyyy-MM-dd')}">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">检测机构：</label>
                     <div class="form-control-static" th:text="${tJcJcbg.detectionName}">
                </div>
                </div>
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">联系人：</label>
                    <div class="form-control-static" th:text="${tJcJcbg.contacts}">
                </div>
                </div>
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">联系电话：</label>
                    <div class="form-control-static" th:class="${tJcJcbg.contactsPhone}">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">受检单位：</label>
                    <div class="form-control-static" th:text="${tJcJcbg.checkName}">
                    </div>
                </div>
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">行业属性：</label>
                    <div class="form-control-static" th:if="${tJcJcbg.tradeProperty == 1}">油库</div>
                    <div class="form-control-static" th:if="${tJcJcbg.tradeProperty == 2}">气库</div>
                    <div class="form-control-static" th:if="${tJcJcbg.tradeProperty == 3}">弹药库</div>
                    <div class="form-control-static" th:if="${tJcJcbg.tradeProperty == 4}">化学品仓库</div>
                    <div class="form-control-static" th:if="${tJcJcbg.tradeProperty == 5}">烟花爆竹</div>
                    <div class="form-control-static" th:if="${tJcJcbg.tradeProperty == 6}">石化</div>
                    <div class="form-control-static" th:if="${tJcJcbg.tradeProperty == 7}">矿区</div>
                    <div class="form-control-static" th:if="${tJcJcbg.tradeProperty == 8}">旅游景点</div>
                    <div class="form-control-static" th:if="${tJcJcbg.tradeProperty == 9}">其它</div>
                </div>
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">防雷级别：</label>
                    <div class="form-control-static" th:if="${tJcJcbg.thunderCategory == 1}">第一类防雷建筑物</div>
                    <div class="form-control-static" th:if="${tJcJcbg.thunderCategory == 2}">第二类防雷建筑物</div>
                    <div class="form-control-static" th:if="${tJcJcbg.thunderCategory == 3}">第三类防雷建筑物</div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-4">
                    <label class="col-sm-6 control-label">项目地址：</label>
                    <div class="form-control-static" th:text="${tJcJcbg.itemAddress}">
                    </div>
                </div>
            </div>
            <hr/>
            <div class="form-group">
                <p>报告原文表信息：</p>
            </div>

            <div class="form-group">
                <h3>附件
                    <a><span class="glyphicon glyphicon-paperclip"
                             aria-hidden="true"></span></a></h3>
                <p>附件.doc &nbsp; &nbsp; &nbsp; <a
                        class="fua" th:href= "@{'../../tJcJcbgYw/detail?textId='+${reportId}}">查看</a>&nbsp;&nbsp;
                    <a class="fua" th:href="@{}">
                    下载</a></p>
                <!--<p>附件二 .pdf(103.48k) &nbsp;  &nbsp; &nbsp;  <a class="fua">查看-->
                <!--</a>&nbsp;&nbsp;-->
                    <!--<a class="fua">-->
                    <!--下载</a></p>-->
            </div>

        </form>
    </div>
    <div id="tab-2" class="tab-pane">报告信息数据</div>
    <div id="tab-3" class="tab-pane">安全检查数据</div>
    <div id="tab-4" class="tab-pane">质量考核数据</div>
</div>
</body>
</html>